package com.lvandroid.play.player;

public abstract class AbsBasePlayer implements IPlayer {

    protected PlayerState mState = PlayerState.STATE_UNINITIALIZED;


    /**
     * 各player自行实现具体的播放逻辑
     */
    public abstract void playInternal();

    /**
     * 设置播放数据源
     * @param source 数据源，支持文件路径，或者网络url
     */
    public abstract void setDataSource(String source);

}
